import request from '@/utils/request'

// 审校分页
export function getList(params) {
  return request({
    url: '/reviewRecord/list',
    method: 'POST',
    params
  })
}

// 查询合同项目的名称
export function selectProjectName(params) {
  return request({
    url: '/projectInvocie/ProjectName',
    method: 'post',
    params
  })
}

// 添加审校登记
export function addreviewRecord(data) {
  return request({
    url: '/reviewRecord/add',
    method: 'POST',
    data
  })
}

// 查询单条
export function selectreviewRecord(params) {
  return request({
    url: '/reviewRecord/load',
    method: 'POST',
    params
  })
}

// 删除审校登记
export function deletereviewRecord(data) {
  return request({
    url: '/reviewRecord/delete',
    method: 'post',
    data
  })
}

// 修改审校登记
export function updatereviewRecord(data) {
  return request({
    url: '/reviewRecord/update',
    method: 'post',
    data
  })
}
